TYPE
json
jsonA JSON (JavaScript Object Notation) datatype.
JSON values are created from text and support conversion to GTV via gtv.from_json(). They can be
stored in the database as an entity attribute.
JSON values in Rell are represented internally with text, which has been validated as legal JSON.
See Also
Since
0.6.0
Methods
as_big_integer
Convert this JSON value to a biginteger.
as_big_integer_or_null
Convert this JSON value to a biginteger.
as_boolean
Convert this JSON boolean value to a boolean.
as_boolean_or_null
Convert this JSON boolean value to a boolean.
as_integer
Convert this JSON integer value to an integer.
as_integer_or_null
Convert this JSON integer value to an integer.
as_text
Convert this JSON text value to text.
as_text_or_null
Convert this JSON text value to text.
get
Get the element at the specified index of this JSON array.
get_or_null
Get the element at the specified index of this JSON array, or null if this JSON value is not an
is_array
Determine whether this JSON value is an array.
is_big_integer
Determine whether this JSON value can be converted to biginteger.
is_boolean
Determine whether this JSON value is a boolean.
is_integer
Determine whether this JSON value is an integer.
is_null
Determine whether this JSON value is null.
is_object
Determine whether this JSON value is an object.
is_text
Determine whether this JSON value is text.
json
keys
Get the keys of this JSON object.
size
Get the size of this JSON value; i.e. the number of elements in this JSON array, or the number of
str
Convert this JSON value to text.
to_text
Convert this JSON value to text.
© 2026 Chromia